aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.tes...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-01-22 18:52:29 +0000
committerMichael Williamson <mike@zwobble.org>2024-01-22 18:56:19 +0000
commit6d380ac1b8aefb00e6be1655a416588e5559bfa0 (patch)
tree792c3b68299e493749a7ac901829f18827d46d6e /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent8462c0ecc99be62339fe1829363c15beb8c5c0f1 (diff)
Rename const operands to with const suffix
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected6
1 files changed, 3 insertions, 3 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 10b0cc46..1ad789a7 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -53,7 +53,7 @@ Compilation unit elements:
offset=(1 1 0)
)
(call _ "shed__runtime__effects_set_handler" ((local "effectHandler__1")))
- (local-store (local "tmp__0") (int 0))
+ (local-store (local "tmp__0") (int-const 0))
(call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
(call _ "shed__runtime__gc_push_root" ((local "tmp__0")))
(call _ "shed__runtime__gc_collect" ())
@@ -89,13 +89,13 @@ Instructions:
(struct ((struct (data-ptr int int int)) (struct (function-ptr (struct (data-ptr)) (struct ())))))
(1 2)
)
- (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((local "byteSize__0") (local "byteOffset__0") (int 0)))
+ (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((local "byteSize__0") (local "byteOffset__0") (int-const 0)))
(
memory-store
pointer=(local "closurePointer__f__0")
layout=(struct ((struct (data-ptr int int int)) (struct (function-ptr (struct (data-ptr)) (struct ())))))
offset=(1 0)
- value=(function-ptr "shed__effectHandlerMethod__f__0")
+ value=(function-ptr-const "shed__effectHandlerMethod__f__0")
)
(call (local "effectHandlerCurrent__0") "shed__runtime__effects_get_handler" ())
(